You are here: Trading System Programming > Reference > Classes > Execution > Execution Methods > getSymbol

getSymbol

The getSymbol method returns execution's symbol.

Syntax

var getSymbol();

Return Value

This method returns a symbol string value.

Example

The following example demonstrates the use of getSymbol() method.

 

function start()

{

//retrieve account's executions orders

var account = getAccount();

var executions = account.getExecutions();

 

//loop through all executions

for(var i = 0; i < executions.length, i++)

{

var execution = executions[i];

 

//process execution

var symbol = execution.getSymbol();

}

 

//proceed further...

}

 


Copyright © 2006-2009 ActiveTick LLC